const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.UserInfo.staffPhoto, // 用户头像
  name: state => state.user.UserInfo.username, // 用户名
  userId: state => state.user.UserInfo.userId // 用户id
}
export default getters
